weight = float(input("输入体重: "))
height = float(input("输入身高: "))

BMI = weight / (height**2)
print("BMI: %.2f" % BMI)

if BMI < 18.5:
    print("偏瘦")
elif 18.5 <= BMI < 25:
    print("正常")
elif 25 <= BMI < 30:
    print("偏胖")
else:
    print("肥胖")

